// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import 'styles/border.css' //解决多倍屏1px显示不一致的问题,此处styles是配置的styles目录的别名，
import 'styles/reset.css'  // 对基础样式的修饰,同时设置了html元素字体为50px;
import 'styles/iconfont.css' //全局引入iconfont样式文件

//解决移动端点击事件延迟的问题，使用前需要先安装
import fastClick from 'fastclick' 
fastClick.attach(document.body)
Vue.config.productionTip = false

// 全局引入vue-awesome-swiper
import VueAwesomeSwiper from 'vue-awesome-swiper'
  // require styles
import 'swiper/dist/css/swiper.css'
Vue.use(VueAwesomeSwiper, /* { default global options } */)

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
